package com.myown.exception;

import com.myown.exception.enums.ExpectionEnum;

/**
 * 系统异常 <p>
 * @author lincky
 * @version v1.0.0
 */
public class SystemInnerException extends CommonException{

    /**
     * ##警告：该无参构造方法，默认将状态码（code）填写为
     * 该异常，对应的默认状态码（code），请慎用
     */
    public SystemInnerException() {
        super(ExpectionEnum.SYSTEM_INNER_EXCEPTION);
    }

    public SystemInnerException(ExpectionEnum expectionEnum) {
        super(expectionEnum);
    }

    public SystemInnerException(ExpectionEnum expectionEnum,Throwable cause) {
        super(expectionEnum, cause);
    }

    public SystemInnerException(ExpectionEnum expectionEnum, String extralMessage) {
        super(expectionEnum, extralMessage);
    }

    public SystemInnerException(ExpectionEnum expectionEnum, String extralMessage, Throwable cause) {
        super(expectionEnum, extralMessage, cause);
    }

}
